package com.flyme.module.base.provider.service.impl;

import com.flyme.core.base.supper.service.impl.BaseServiceImpl;
import com.flyme.module.base.client.entity.SysStudyconfig;
import com.flyme.module.base.provider.mapper.SysStudyconfigMapper;
import com.flyme.module.base.provider.service.SysStudyconfigService;
import org.springframework.stereotype.Service;

@Service
public class SysStudyconfigServiceImpl extends BaseServiceImpl<SysStudyconfigMapper, SysStudyconfig> implements SysStudyconfigService {

    /**
     * 获取继续教育配置
     * @param syscertificateId
     * @return
     */
    public SysStudyconfig getByStudyConfig(Long syscertificateId) {
        return getOne(q().eq(true,"syscertificateId", syscertificateId), false);
    }
}
